package com.tledu.spring06.spring04.service;

import com.tledu.spring06.spring04.dao.UserDao;
import com.tledu.spring06.spring04.model.User;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Antg
 * @date 2021/8/912:01
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    @Setter
    private UserDao userDao;

    @Override
    public void insert(User user) {
        userDao.insert(user);
    }
}
